﻿using System;

namespace System
{
    public struct Nullable<T>
    {
        public Nullable(T val) : this()
        {            
        }

        //Extend:These method/property is required by compiler, but is [NonScript]
        public bool HasValue { get; set; }
        public T Value { get; set; }
        public T GetValueOrDefault()
        {
            return default(T);
        }
    }
}
